import React, { Component } from 'react';
import '../styles/MyEntry.scss'





class MyEntry extends Component {
    constructor(props){
        super(props);
        this.state = { 
            list:[
                { text:'综合' },
                { text:'销量' },
                { text:'新品' },
                { text:'价格' },
                { text:'筛选' },
            ]
        }
    }
    render() {
        return (
            <div className='entry'>
                
                {
                    this.state.list.map((item,index)=>{
                        return (
                            <div className="item" key={index}>
                                <div className="text">{item.text}</div>
                            </div>
                        )
                    })
                }
            </div>
        );
    }
}

export default MyEntry;